package com.groupsix.service;

import com.groupsix.vo.OrderInfoVo;
import com.groupsix.vo.OrderListVo;

import java.util.List;

public interface OrderService {
    /**
     * 根据选车id查询所选车辆信息及取还车地址信息
     */
    public OrderInfoVo searchOrderInfo(int getid, int backid, int cid);

    /**
     * 订单写入
     */
    public boolean  addOrder(int getid,int backid,int cid,String tel);

    /**
     * 根据uid查询其所有订单
     */
    public List<OrderListVo> findMyOrders(int uid);
    public int delet(int id);
}
